﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using System.Data.Objects;
using System.Data.Objects.DataClasses;
using System.Data.Entity;

namespace BLL
{
    public class BookFacility
    {
        
        public List<DAL.Facility> getFacilitiesList()
        {
            DAL.Facility facility = new DAL.Facility();
            return facility.getFacilitiesList();
        }
        public DAL.Facility getFacility(int id)
        {
            DAL.Facility facility = new DAL.Facility();
            return facility.getFacility(id);
        }
        public void placeBook(DAL.Booking book)
        {
            DAL.Facility facility = new DAL.Facility();
            facility.placeBook(book);
        }
    }
}
